<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: Measurement Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Measurement Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Generic measurement that stores values as either double or long long int.  
 <a href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml">Value</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml" title="Generic measurement that stores values as either double or long long int. ">Measurement</a> value.  <a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3f3a36d64956cb0978a07c53fb44d974"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a3f3a36d64956cb0978a07c53fb44d974">operator&lt;</a> (const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> &amp;b) const </td></tr>
<tr class="memdesc:a3f3a36d64956cb0978a07c53fb44d974"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare the stored value with another value.  <a href="#a3f3a36d64956cb0978a07c53fb44d974">More...</a><br /></td></tr>
<tr class="separator:a3f3a36d64956cb0978a07c53fb44d974"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ccc04c46bf09fcd434dc103f8ca9b2b"><td class="memTemplParams" colspan="2">template&lt;typename Floating , typename std::enable_if&lt; !std::is_integral&lt; Floating &gt;::value, int &gt;::type  = 0&gt; </td></tr>
<tr class="memitem:a2ccc04c46bf09fcd434dc103f8ca9b2b"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a2ccc04c46bf09fcd434dc103f8ca9b2b">Measurement</a> (Floating v, std::string <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">unit</a>, std::list&lt; std::string &gt; raw={})</td></tr>
<tr class="memdesc:a2ccc04c46bf09fcd434dc103f8ca9b2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to store a floating point value.  <a href="#a2ccc04c46bf09fcd434dc103f8ca9b2b">More...</a><br /></td></tr>
<tr class="separator:a2ccc04c46bf09fcd434dc103f8ca9b2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed021625a622269b23e2916fc1e06dac"><td class="memTemplParams" colspan="2">template&lt;typename Integer , typename std::enable_if&lt; std::is_integral&lt; Integer &gt;::value, int &gt;::type  = 0&gt; </td></tr>
<tr class="memitem:aed021625a622269b23e2916fc1e06dac"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#aed021625a622269b23e2916fc1e06dac">Measurement</a> (Integer v, std::string <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">unit</a>, std::list&lt; std::string &gt; raw={})</td></tr>
<tr class="memdesc:aed021625a622269b23e2916fc1e06dac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to store an integer value.  <a href="#aed021625a622269b23e2916fc1e06dac">More...</a><br /></td></tr>
<tr class="separator:aed021625a622269b23e2916fc1e06dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17407369cfeffaf5df87ff044e43af82"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">unit</a> () const </td></tr>
<tr class="memdesc:a17407369cfeffaf5df87ff044e43af82"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the unit of the measurement.  <a href="#a17407369cfeffaf5df87ff044e43af82">More...</a><br /></td></tr>
<tr class="separator:a17407369cfeffaf5df87ff044e43af82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0623ef2a13ff9b6728dff006ae6cbc47"><td class="memItemLeft" align="right" valign="top">const std::list&lt; std::string &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a0623ef2a13ff9b6728dff006ae6cbc47">raw_data</a> () const </td></tr>
<tr class="memdesc:a0623ef2a13ff9b6728dff006ae6cbc47"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the raw data.  <a href="#a0623ef2a13ff9b6728dff006ae6cbc47">More...</a><br /></td></tr>
<tr class="separator:a0623ef2a13ff9b6728dff006ae6cbc47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a69ff08e2ead1fb8b4dbb15cbdf6a09"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml">Value</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a5a69ff08e2ead1fb8b4dbb15cbdf6a09">value</a> () const </td></tr>
<tr class="memdesc:a5a69ff08e2ead1fb8b4dbb15cbdf6a09"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the stored value.  <a href="#a5a69ff08e2ead1fb8b4dbb15cbdf6a09">More...</a><br /></td></tr>
<tr class="separator:a5a69ff08e2ead1fb8b4dbb15cbdf6a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:ae0068ee19905d634193a92821067606c"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#ae0068ee19905d634193a92821067606c">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> &amp;measurement)</td></tr>
<tr class="memdesc:ae0068ee19905d634193a92821067606c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stream output operator to print the measurement.  <a href="#ae0068ee19905d634193a92821067606c">More...</a><br /></td></tr>
<tr class="separator:ae0068ee19905d634193a92821067606c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Generic measurement that stores values as either double or long long int. </p>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00041">41</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ccc04c46bf09fcd434dc103f8ca9b2b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> </td>
          <td>(</td>
          <td class="paramtype">Floating&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; std::string &gt;&#160;</td>
          <td class="paramname"><em>raw</em> = <code>{}</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor to store a floating point value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml" title="Measurement value. ">Value</a> to store </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">unit</td><td>Unit of <code>v</code> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">raw</td><td>(Optional) The raw value(s) <code>was</code> generated from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00252">252</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>

<p>References <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">Measurement::Value::v</a>.</p>
<div class="fragment"><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;                                                                     {})</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        : _unit(<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">unit</a>), _raw_data(std::move(raw)), _value(<span class="keyword">true</span>)</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    {</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        _value.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">v</a>.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#ab32110eb040749e72f53d1a7ee30c25b">floating_point</a> = <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(v);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        <span class="keywordflow">if</span>(_raw_data.empty())</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        {</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            _raw_data = { _value.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa48c39f92bc04eded742f5310c74aafe">to_string</a>() };</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        }</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    }</div><div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_ab32110eb040749e72f53d1a7ee30c25b"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#ab32110eb040749e72f53d1a7ee30c25b">arm_compute::test::framework::Measurement::Value::floating_point</a></div><div class="ttdeci">double floating_point</div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00213">Measurement.h:213</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_aa1bee75ce77e93989e011aae01955b03"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">arm_compute::test::framework::Measurement::Value::v</a></div><div class="ttdeci">union arm_compute::test::framework::Measurement::Value::@1 v</div><div class="ttdoc">Stored value. </div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_aa48c39f92bc04eded742f5310c74aafe"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa48c39f92bc04eded742f5310c74aafe">arm_compute::test::framework::Measurement::Value::to_string</a></div><div class="ttdeci">std::string to_string() const </div><div class="ttdoc">Convert the value stored to string. </div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00071">Measurement.h:71</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_xhtml_a17407369cfeffaf5df87ff044e43af82"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">arm_compute::test::framework::Measurement::unit</a></div><div class="ttdeci">const std::string &amp; unit() const </div><div class="ttdoc">Accessor for the unit of the measurement. </div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00283">Measurement.h:283</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aed021625a622269b23e2916fc1e06dac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> </td>
          <td>(</td>
          <td class="paramtype">Integer&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>unit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; std::string &gt;&#160;</td>
          <td class="paramname"><em>raw</em> = <code>{}</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor to store an integer value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml" title="Measurement value. ">Value</a> to store </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">unit</td><td>Unit of <code>v</code> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">raw</td><td>(Optional) The raw value(s) <code>was</code> generated from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00269">269</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>

<p>References <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">Measurement::Value::v</a>.</p>
<div class="fragment"><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;                                                                    {})</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        : _unit(<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">unit</a>), _raw_data(std::move(raw)), _value(<span class="keyword">false</span>)</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    {</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        _value.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">v</a>.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#a5283f2dae5da803262f8deb3c71525f0">integer</a> = <span class="keyword">static_cast&lt;</span><span class="keywordtype">long</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span><span class="keyword">&gt;</span>(v);</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        <span class="keywordflow">if</span>(_raw_data.empty())</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        {</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;            _raw_data = { _value.<a class="code" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa48c39f92bc04eded742f5310c74aafe">to_string</a>() };</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        }</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    }</div><div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_a5283f2dae5da803262f8deb3c71525f0"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#a5283f2dae5da803262f8deb3c71525f0">arm_compute::test::framework::Measurement::Value::integer</a></div><div class="ttdeci">long long int integer</div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00214">Measurement.h:214</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_aa1bee75ce77e93989e011aae01955b03"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa1bee75ce77e93989e011aae01955b03">arm_compute::test::framework::Measurement::Value::v</a></div><div class="ttdeci">union arm_compute::test::framework::Measurement::Value::@1 v</div><div class="ttdoc">Stored value. </div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value_xhtml_aa48c39f92bc04eded742f5310c74aafe"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml#aa48c39f92bc04eded742f5310c74aafe">arm_compute::test::framework::Measurement::Value::to_string</a></div><div class="ttdeci">std::string to_string() const </div><div class="ttdoc">Convert the value stored to string. </div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00071">Measurement.h:71</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1framework_1_1_measurement_xhtml_a17407369cfeffaf5df87ff044e43af82"><div class="ttname"><a href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml#a17407369cfeffaf5df87ff044e43af82">arm_compute::test::framework::Measurement::unit</a></div><div class="ttdeci">const std::string &amp; unit() const </div><div class="ttdoc">Accessor for the unit of the measurement. </div><div class="ttdef"><b>Definition:</b> <a href="_measurement_8h_source.xhtml#l00283">Measurement.h:283</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3f3a36d64956cb0978a07c53fb44d974"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compare the stored value with another value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml" title="Measurement value. ">Value</a> to compare against</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result of stored value &lt; b </dd></dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00225">225</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>

<p>References <a class="el" href="_measurement_8h_source.xhtml#l00301">Measurement::value()</a>.</p>
<div class="fragment"><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    {</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        <span class="keywordflow">return</span> _value &lt; <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7b8004eef325a40dd43eb80755610fff">b</a>.value();</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a7b8004eef325a40dd43eb80755610fff"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a7b8004eef325a40dd43eb80755610fff">arm_compute::test::validation::b</a></div><div class="ttdeci">CLTensor b</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_g_e_m_m_8cpp_source.xhtml#l00122">GEMM.cpp:122</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0623ef2a13ff9b6728dff006ae6cbc47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::list&lt;std::string&gt;&amp; raw_data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the raw data. </p>
<dl class="section return"><dt>Returns</dt><dd>The raw data </dd></dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00292">292</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    {</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        <span class="keywordflow">return</span> _raw_data;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a17407369cfeffaf5df87ff044e43af82"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; unit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the unit of the measurement. </p>
<dl class="section return"><dt>Returns</dt><dd>Unit of the measurement </dd></dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00283">283</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>

<p>Referenced by <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00119">PrettyPrinter::print_measurements()</a>.</p>
<div class="fragment"><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    {</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        <span class="keywordflow">return</span> _unit;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a5a69ff08e2ead1fb8b4dbb15cbdf6a09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement_1_1_value.xhtml">Value</a>&amp; value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="classarm__compute_1_1test_1_1_accessor.xhtml" title="Accessor implementation for Tensor objects. ">Accessor</a> for the stored value. </p>
<dl class="section return"><dt>Returns</dt><dd>The stored value </dd></dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00301">301</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>

<p>Referenced by <a class="el" href="_instruments_stats_8cpp_source.xhtml#l00033">InstrumentsStats::InstrumentsStats()</a>, <a class="el" href="_measurement_8h_source.xhtml#l00225">Measurement::operator&lt;()</a>, and <a class="el" href="_pretty_printer_8cpp_source.xhtml#l00119">PrettyPrinter::print_measurements()</a>.</p>
<div class="fragment"><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    {</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <span class="keywordflow">return</span> _value;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="ae0068ee19905d634193a92821067606c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a> &amp;&#160;</td>
          <td class="paramname"><em>measurement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Stream output operator to print the measurement. </p>
<p>Prints value and unit.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">os</td><td>Output stream. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">measurement</td><td><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml" title="Generic measurement that stores values as either double or long long int. ">Measurement</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the modified output stream. </dd></dl>

<p>Definition at line <a class="el" href="_measurement_8h_source.xhtml#l00239">239</a> of file <a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    {</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        os &lt;&lt; measurement._value &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; measurement._unit;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <span class="keywordflow">return</span> os;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>tests/framework/instruments/<a class="el" href="_measurement_8h_source.xhtml">Measurement.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test_1_1framework.xhtml">framework</a></li><li class="navelem"><a class="el" href="structarm__compute_1_1test_1_1framework_1_1_measurement.xhtml">Measurement</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:44 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
